//
//  UIImage+JSTImage.h
//  KYKJPackDemo
//
//  Created by 01 on 17/6/6.
//  Copyright © 2017年 ???. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (JSTImage)

+ (UIImage *)resizableImage:(NSString *)imageName;

/*!
 @abstract      获取一个可拉伸的UIImage
 @param         imageName  图片名称
 @result        UIImage autorelease的对象
 */
+ (UIImage *)streImageNamed:(NSString *)imageName;
+ (UIImage *)streImageNamed:(NSString *)imageName capX:(CGFloat)x capY:(CGFloat)y;
+ (UIImage *)imageWithColor:(UIColor *)color size:(CGSize)size;
+ (instancetype)imageWithColor:(UIColor *)color;

@end
